package cn.sunzq.springdata.elasticsearch.demo.constant;

/**
 * @创建人 孙中泉
 * @创建时间 2021/7/26
 * @描述
 */
public class IndexMappingConstant {

    public static final  String TEST_DEMO_MAPPING = "{\n" +
            "      \"properties\": {\n" +
            "        \"_class\": {\n" +
            "          \"type\": \"keyword\",\n" +
            "          \"index\": false,\n" +
            "          \"doc_values\": false\n" +
            "        },\n" +
            "        \"fieldDouble\": {\n" +
            "          \"type\": \"double\"\n" +
            "        },\n" +
            "        \"fieldFloat\": {\n" +
            "          \"type\": \"float\"\n" +
            "        },\n" +
            "        \"fieldInteger\": {\n" +
            "          \"type\": \"integer\"\n" +
            "        },\n" +
            "        \"fieldKeyword\": {\n" +
            "          \"type\": \"keyword\"\n" +
            "        },\n" +
            "        \"fieldLong\": {\n" +
            "          \"type\": \"long\"\n" +
            "        },\n" +
            "        \"fieldNested\": {\n" +
            "          \"type\": \"nested\"\n" +
            "        },\n" +
            "        \"fieldObject\": {\n" +
            "          \"type\": \"object\"\n" +
            "        },\n" +
            "        \"id\": {\n" +
            "          \"type\": \"keyword\"\n" +
            "        },\n" +
            "        \"ip\": {\n" +
            "          \"type\": \"ip\"\n" +
            "        }\n" +
            "      }\n" +
            "    }";

}
